import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import 'amfe-flexible'
import './index.css'
import  router  from './router/index'
import { RouterProvider } from 'react-router-dom'
import { Suspense } from 'react'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <Suspense fallback={<div>login...</div>}>
    <RouterProvider router={router}>
    </RouterProvider>
    </Suspense>
  </StrictMode>,
)
